﻿@using Microsoft.Extensions.Options
@using Blog.Common
@inject IWritableOptions<BlogSettingsViewModel> AppSettings
@{
    var blogSettings = AppSettings.Value;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>@Html.Raw(blogSettings.Title)-后台管理</title>
    <link rel="stylesheet" href="~/lib/layui/css/layui.css" />
    <link rel="stylesheet" href="//at.alicdn.com/t/font_tnyc012u2rlwstt9.css" media="all" />
    <link rel="shortcut icon" href="@(string.IsNullOrEmpty(blogSettings.Logo)?"/favicon.ico":blogSettings.Logo)" type="image/x-icon">
    @RenderSection("Style",required:false)
</head>
<body >
    @RenderBody()
    <script src="~/lib/jquery/dist/jquery.min.js"></script>
    <script src="~/lib/layui/layui.js"></script>
    <script src="~/js/admin/global.js"></script>
    @RenderSection("Scripts", required: false)
</body>
</html>
